﻿using System;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace Default.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Sys_Menus")]
    public partial class Sys_Menus
    {
        public Sys_Menus()
        {

        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "Id", ColumnDescription = "", Length = 11)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(ColumnName = "Name", ColumnDescription = "", Length = 255)]
        public string Name { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Parent_Id", ColumnDescription = "", Length = 11)]
        public int? ParentId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Url", ColumnDescription = "", Length = 255)]
        public string Url { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Order", ColumnDescription = "", Length = 11)]
        public int? Order { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnName = "Order", ColumnDescription = "", Length = 11, DecimalDigits = 2)]
        public decimal? Price { get; set; }
    }
}
